import os
import DateTimeUtil

def getProjectDir():
    project_dir = os.path.dirname(os.path.abspath(__file__))
    return os.path.dirname(os.path.dirname(project_dir))

def getLogFilePath():
    prefix=DateTimeUtil.get_time("%Y-%m-%d")
    return getProjectDir() + '/logs/auto_{}.log'.format(prefix)
    pass
if __name__ == '__main__':
    print getLogFilePath()